package com.yunxi.order.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *批售单明细查询响应
 */
@Data
@ApiModel(value="批售单明细查询响应", description="批售单明细查询响应")
public class OrderOemDetailsRespVO implements Serializable {
    @ApiModelProperty(value = "车型")
    private String modelCode;
    @ApiModelProperty(value = "车系")
    private String seriesCode;
    @ApiModelProperty(value = "配置")
    private String catalogCode;
    @ApiModelProperty(value = "批售单号")
    private String orderId;
    @ApiModelProperty(value = "内饰颜色")
    private String colorCodeIn;
    @ApiModelProperty(value = "外饰颜色")
    private String colorCodeOut;
    @ApiModelProperty(value = "数量")
    private Integer num;
    @ApiModelProperty(value = "收货人")
    private String linkman;
    @ApiModelProperty(value = "联系方式")
    private String linkphone;
    @ApiModelProperty(value = "收货地址")
    private String storageCode;
    @ApiModelProperty(value = "付款方式")
    private String payway;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "发运日期")
    private Date dispatchDate;
    @ApiModelProperty(value = "返利金额")
    private BigDecimal rebateAccount;
    @ApiModelProperty(value = "返利比例")
    private Integer rebateProportion;
    @ApiModelProperty(value = "自提")
    private String isPickup;
    @ApiModelProperty(value = "选装包代码")
    private String customPackCodes;
    @ApiModelProperty(value = "电池包代码")
    private String batteryPackCode;

    @ApiModelProperty(value = "备注")
    private String memo;
}
